home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / streaming / qtspacketizerreassembler / componentvideortp / sources / rtprssmcomponentvideo.r < prev   
Encoding:
Text File  |  2000-06-23  |  1.2 KB  |  61 lines

  1. /*
  2.     File:        RTPRssmComponentVideo.r
  3.  
  4.     Contains:    Resources for Component Video RTPReassembler
  5.  
  6.     Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  7.     
  8.     
  9.     
  10.     An RTPReassembler must define at least one reassembler info resource
  11.     (kRTPReassemblerInfoResType) and a public component resource map ('thnr') that
  12.     points to the reassembler info resources.
  13.     
  14.     QuickTime Streaming uses a reassembler info resource to determine what RTP
  15.     payload type a reassembler handles, and to compare reassemblers that handle the
  16.     same payload type.
  17. */
  18.  
  19. #define SystemSevenOrLater 1
  20. #define SystemSevenOrBetter    1
  21.  
  22.  
  23. #include "RTPRssmComponentVidResources.h"
  24. #include "QTStreamingComponents.r"
  25. #include "ComponentThing.r"
  26.  
  27.  
  28.  
  29. resource 'STR#' ( kRTPRssmComponentVideoStringListResource )
  30. {
  31.     {
  32.         COMPONENT_VIDEO_CODEC_NAME_STRING
  33.     }
  34. };
  35.  
  36.  
  37.  
  38. resource 'thnr' ( kComponentBaseID )
  39. {
  40.     {
  41.         kRTPReassemblerInfoResType, 1, 0,
  42.         kRTPReassemblerInfoResType, kComponentBaseID, cmpResourceNoFlags,
  43.     }
  44. };
  45.  
  46.  
  47.  
  48. resource kRTPReassemblerInfoResType ( kComponentBaseID )
  49. {
  50.     {
  51.         {
  52.             kRTPPayloadSpeedTag, 128,
  53.             kRTPPayloadLossRecoveryTag, 128
  54.         },
  55.         
  56.         kRTPPayloadTypeDynamicFlag,
  57.         0,
  58.         COMPONENT_VIDEO_PROTOCOL_ENCODING_STRING
  59.     }
  60. };
  61.